// create the editors
var editor_config = ace.edit("editor_config");
editor_config.getSession().setMode("ace/mode/json");
editor_config.setShowPrintMargin(false);
editor_config.session.setUseWorker(true);

var editor_html = ace.edit("editor_html");
editor_html.getSession().setMode("ace/mode/html");
editor_html.setShowPrintMargin(false);
editor_html.session.setUseWorker(true);

var editor_javascript = ace.edit("editor_javascript");
editor_javascript.getSession().setMode("ace/mode/javascript");
editor_javascript.setShowPrintMargin(false);
editor_javascript.session.setUseWorker(true);

var editor_css = ace.edit("editor_css");
editor_css.getSession().setMode("ace/mode/css");
editor_css.setShowPrintMargin(false);
editor_css.session.setUseWorker(true);

var editor_import = ace.edit("editor_import");
editor_import.getSession().setMode("ace/mode/json");
editor_import.getSession().setUseWrapMode(true);
editor_import.setShowPrintMargin(false);
editor_import.session.setUseWorker(false);
editor_import.renderer.setShowGutter(false); 

var editor_export = ace.edit("editor_export");
editor_export.getSession().setMode("ace/mode/json");
editor_export.getSession().setUseWrapMode(true);
editor_export.setShowPrintMargin(false);
editor_export.session.setUseWorker(false);
editor_export.renderer.setShowGutter(false); 
editor_export.setReadOnly(true);